package com.qfmy.model.entity.novel;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @author 清风明月
 * @Package com.qfmy.model.entity
 * @date 2025/4/13
 * @description 分类实体类
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@SuppressWarnings("all")
public class Category {
    @Schema(description = "分类ID")
    private Integer id;
    
    @Schema(description = "名称")
    private String name;
    
    @Schema(description = "类型 0:男生 1:女生")
    private Integer type;
    
    @Schema(description = "排序")
    private Integer sort;
    
    @Schema(description = "创建时间")
    private Date createTime;
    
    @Schema(description = "更新时间")
    private Date updateTime;
    
    @Schema(description = "书籍类型: 0:小说 1:知识 2:漫画 3:听书")
    private Integer bookType;
    
    @Schema(description = "类别的图像")
    private String imgUrl;

    @Schema(description = "类别下面书籍的个数")
    private Integer bookCount;
}